package com.jic.point.mapper;
import java.util.List;
import com.jic.point.model.entity.ConfApiAuthority;
import com.jic.point.rest.request.ActivateCardPointRequest;

public interface ConfApiAuthorityMapper {
	/**
	 * CONF_API_AUTHORITY插入数据
	 * @param confApiAuthority 入参实体类
	 */
	int insert (ConfApiAuthority confApiAuthority);

	/**
	 * CONF_API_AUTHORITY插入数据
	 * @param confApiAuthority 入参实体类
	 */
	int insertSelective (ConfApiAuthority confApiAuthority);

	/**
	 * CONF_API_AUTHORITY根据表对象数据修改数据
	 * @param confApiAuthority 入参实体类
	 */
	int updateByPrimaryKey (ConfApiAuthority confApiAuthority);

	/**
	 * CONF_API_AUTHORITY根据表对象数据修改数据
	 * @param confApiAuthority 入参实体类
	 */
	int updateByPrimaryKeySelective (ConfApiAuthority confApiAuthority);

	/**
	 * CONF_API_AUTHORITY根据id删除数据
	 * @param confApiAuthority 入参实体类
	 */
	int deleteByPrimaryKey (ConfApiAuthority confApiAuthority);

	/**
	 * CONF_API_AUTHORITY根据主键查询数据
	 * @param confApiAuthority 入参实体类
	 */
	ConfApiAuthority selectByPrimaryKey (ConfApiAuthority confApiAuthority);

	/**
	 * CONF_API_AUTHORITY根据主键查询数据
	 * @param confApiAuthority 入参实体类
	 */
	List<ConfApiAuthority> listPageBySelective (ConfApiAuthority confApiAuthority);

	/**
	 * CONF_API_AUTHORITY查询数据
	 * @param confApiAuthority 入参实体类
	 */
	List<ConfApiAuthority>  selectBySelective (ConfApiAuthority confApiAuthority);

	List<ConfApiAuthority> selConfActivityRuleByCode(ActivateCardPointRequest request);
}
